Last Updated 10/28/2022
The find_root and roots command
For polynomial equations of the form . We can use the roots command to find its numerical solutions. For example, to find the solutions of , we first define the function , follows by the roots command.
The output is in the format of (root, multiplicity).
Try this!
For the function f defined above, find the solutions of . [Hint: Define the derivative function as fp(x)=diff(f(x),x)]